<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>对象的遍历</title>
		<script>
			var obj = {
				name: '大周老师字面量',
				age: 18,
				sex: '男',
			}
			//  json就是类似于Python中的字典 
			for(var k in obj){
				console.log(k);
				console.log(obj[k]);
			}
			
			
		</script>
	</head>
	<body>
	</body>
</html>